package model

const (
	Offer   = 0
	Release = 1
)

type Work struct {
	// 作业名
	Name string
	// 操作空间
	Space int
	// 0-申请 1-释放
	Operate int
}

func NewWork(name string, space, operate int) *Work {
	return &Work{
		Name:    name,
		Space:   space,
		Operate: operate,
	}
}
